package com.monkey.model.monkey;

import java.math.BigDecimal;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * desc:
 * auth: chenxiaobin
 * data: 2018/1/16.
 */
public class MonkeyOrder {
    private int monkeyid;
    private int action;
    private String uuid;
    private BigDecimal money;
    private int status;
    private String createtime;

    public MonkeyOrder(int monkeyid, int action, String uuid, BigDecimal money, int status, Date createtime, SimpleDateFormat sdf) {
        this.monkeyid = monkeyid;
        this.action = action;
        this.uuid = uuid;
        this.money = money;
        this.status = status;
        this.createtime = sdf.format(createtime);
    }

    public int getMonkeyid() {
        return monkeyid;
    }

    public int getAction() {
        return action;
    }

    public String getUuid() {
        return uuid;
    }

    public BigDecimal getMoney() {
        return money;
    }

    public int getStatus() {
        return status;
    }

    public String getCreatetime() {
        return createtime;
    }
}
